package com.ruoyi.system.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 预约信息对象 order_info
 * 
 * @author ruoyi
 * @date 2021-11-13
 */
public class OrderInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 专家id */
    @Excel(name = "专家id")
    private Long pid;

    /** 预约时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预约时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date day;

    /** 预约状态 */
    @Excel(name = "预约状态")
    private Long status;

    /** 电话 */
    @Excel(name = "电话")
    private String number;

    /** 用户id */
    @Excel(name = "用户id")
    private Long uid;

    /** 预约时段 */
    @Excel(name = "预约时段")
    private Long time;

    /** 服务id */
    @Excel(name = "服务id")
    private Long sid;

    /** 专家姓名 */
    @Excel(name = "专家姓名")
    private String doctorName;

    /** 服务名称 */
    @Excel(name = "服务名称")
    private String serverName;

    /** 专家姓名 */
    @Excel(name = "客户名称")
    private String customerName;

    @Excel(name = "专家电话")
    private String pnumber;

    @Excel(name = "延期时间")
    private String delayTime;

    @Excel(name = "申请时间")
    private Date createTime;

    @Excel(name = "活动完结时间")
    private Date overTime;

    @Excel(name = "预约完成时间")
    private Date orderTime;

    // 开始搜索时间
    @Excel(name = "开始搜索时间")
    private Date startTime;

    // 结束搜索时间
    private Date endTime;

    // 参与搜索的时间类型 （1 == 申请时间，2 == 预约完成时间，3 == 活动完成时间）
    private String Type;


    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public void setType(String type) {
        Type = type;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getStartTime() {
        return startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public String getType() {
        return Type;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    public Date getOverTime() {
        return overTime;
    }

    public Date getOrderTime() {
        return orderTime;
    }

    public String getDelayTime() {
        return delayTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public void setOverTime(Date overTime) {
        this.overTime = overTime;
    }

    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }

    public void setDelayTime(String delayTime) {
        this.delayTime = delayTime;
    }

    public void setPnumber(String pnumber) {
        this.pnumber = pnumber;
    }

    public String getPnumber() {
        return pnumber;
    }

    public String getDoctorName() {
        return doctorName;
    }

    public String getServerName() {
        return serverName;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setDoctorName(String doctorName) {
        this.doctorName = doctorName;
    }

    public void setServerName(String serverName) {
        this.serverName = serverName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPid(Long pid) 
    {
        this.pid = pid;
    }

    public Long getPid() 
    {
        return pid;
    }
    public void setDay(Date day) 
    {
        this.day = day;
    }

    public Date getDay() 
    {
        return day;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setNumber(String number) 
    {
        this.number = number;
    }

    public String getNumber() 
    {
        return number;
    }
    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }
    public void setTime(Long time) 
    {
        this.time = time;
    }

    public Long getTime() 
    {
        return time;
    }
    public void setSid(Long sid) 
    {
        this.sid = sid;
    }

    public Long getSid() 
    {
        return sid;
    }

    @Override
    public String toString() {
        return "OrderInfo{" +
                "id=" + id +
                ", pid=" + pid +
                ", day=" + day +
                ", status=" + status +
                ", number='" + number + '\'' +
                ", uid=" + uid +
                ", time=" + time +
                ", sid=" + sid +
                ", doctorName='" + doctorName + '\'' +
                ", serverName='" + serverName + '\'' +
                ", customerName='" + customerName + '\'' +
                ", pnumber='" + pnumber + '\'' +
                ", delayTime='" + delayTime + '\'' +
                ", createTime=" + createTime +
                ", overTime=" + overTime +
                ", orderTime=" + orderTime +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", Type='" + Type + '\'' +
                '}';
    }
}
